SGServlet.class:
	javadoc -quiet -d javadoc/ packing generating common SGServlet.java
	javac -classpath .:./jdbc/ojdbc14.jar:./servlet-api.jar SGServlet.java

servlet:
	javac SGServlet.java
	mv *.class /usr/local/tomcat/webapps/apegen/WEB-INF/classes
	mv generating/*.class /usr/local/tomcat/webapps/apegen/WEB-INF/classes/generating/
	mv packing/*.class /usr/local/tomcat/webapps/apegen/WEB-INF/classes/packing/
	mv common/*.class /usr/local/tomcat/webapps/apegen/WEB-INF/classes/common/

clean:
	rm *.class
